package com.shine.entity;

/**
 * Shuihu实体类
 *  对应数据库中的shuihu表
 */
public class ShuiHu {
    private int id;
    private String star;
    private String nickname;
    private String username;
    private String addr;
    private String info;

    public ShuiHu() {
    }

    public ShuiHu(int id, String star, String nickname, String username, String addr, String info) {
        this.id = id;
        this.star = star;
        this.nickname = nickname;
        this.username = username;
        this.addr = addr;
        this.info = info;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "ShuiHu{" +
                "id=" + id +
                ", star='" + star + '\'' +
                ", nickname='" + nickname + '\'' +
                ", username='" + username + '\'' +
                ", addr='" + addr + '\'' +
                ", info='" + info + '\'' +
                '}';
    }
}
